[INFO] cloning repository https://github.com/MeloenCoding/win32-d3d11
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MeloenCoding/win32-d3d11" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d468901a362606610268b5a80d682a1eaa1cf9f8
[INFO] fixing MeloenCoding/win32-d3d11 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMeloenCoding%2Fwin32-d3d11" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MeloenCoding/win32-d3d11
[INFO] finished tweaking git repo https://github.com/MeloenCoding/win32-d3d11
[INFO] tweaked toml for git repo https://github.com/MeloenCoding/win32-d3d11 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MeloenCoding/win32-d3d11 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MeloenCoding/win32-d3d11 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24
[INFO] running `Command { std: "docker" "start" "c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.0
[INFO] [stderr]    Compiling directx_math v0.2.2
[INFO] [stderr]     Checking windows-targets v0.48.0
[INFO] [stderr]     Checking windows v0.48.0
[INFO] [stderr]     Checking win32-d3d11 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 | /             &self
[INFO] [stdout] 204 | |                 .device
[INFO] [stdout] 205 | |                 .CreateBuffer(&buff_desc, Some(&data), Some(vertex_buff))
[INFO] [stdout]     | |_________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 206 |           }
[INFO] [stdout] 207 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 | /             &self
[INFO] [stdout] 246 | |                 .device
[INFO] [stdout] 247 | |                 .CreateBuffer(&indices_buff_desc, Some(&indices_data), Some(index_buffer))
[INFO] [stdout]     | |__________________________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 248 |           }
[INFO] [stdout] 249 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 | /             &self.device.CreateVertexShader(
[INFO] [stdout] 308 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 309 | |                     vertex_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 310 | |                     vertex_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |                 Some(&mut vertex_shader),
[INFO] [stdout] 314 | |             )
[INFO] [stdout]     | |_____________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 315 |           }
[INFO] [stdout] 316 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 | /             &self
[INFO] [stdout] 359 | |                 .device
[INFO] [stdout] 360 | |                 .CreateBuffer(&const_buff_desc, Some(&const_subresource_data), Some(const_buff))
[INFO] [stdout]     | |________________________________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 361 |           }
[INFO] [stdout] 362 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:403:13
[INFO] [stdout]     |
[INFO] [stdout] 403 | /             &self
[INFO] [stdout] 404 | |                 .device
[INFO] [stdout] 405 | |                 .CreateBuffer(&const_buff_desc2, Some(&const_subresource_data2), Some(const_buff2))
[INFO] [stdout]     | |___________________________________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 406 |           }
[INFO] [stdout] 407 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 | /             &self.device.CreatePixelShader(
[INFO] [stdout] 453 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 454 | |                     pixel_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 455 | |                     pixel_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 458 | |                 Some(&mut pixel_shader),
[INFO] [stdout] 459 | |             )
[INFO] [stdout]     | |_____________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 460 |           }
[INFO] [stdout] 461 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:217:13
[INFO] [stdout]     |
[INFO] [stdout] 217 |             io::KEYBOARD.reset();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             io::MOUSE.reset();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:232:32
[INFO] [stdout]     |
[INFO] [stdout] 232 |             keyboard: unsafe { &mut io::KEYBOARD },
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 232 |             keyboard: unsafe { &raw mut io::KEYBOARD },
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:233:29
[INFO] [stdout]     |
[INFO] [stdout] 233 |             mouse: unsafe { &mut io::MOUSE },
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 233 |             mouse: unsafe { &raw mut io::MOUSE },
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:279:21
[INFO] [stdout]     |
[INFO] [stdout] 279 |                     io::KEYBOARD.reset();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                     io::KEYBOARD.on_char(wparam.0 as u32);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:297:25
[INFO] [stdout]     |
[INFO] [stdout] 297 |                         io::KEYBOARD.enable_auto_repeat();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:299:21
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     io::KEYBOARD.on_key_press(wparam.0 as u32);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:302:21
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     io::KEYBOARD.disable_auto_repeat();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:303:21
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     io::KEYBOARD.on_key_release(wparam.0 as u32);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                         io::MOUSE.on_mouse_move(points);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:318:29
[INFO] [stdout]     |
[INFO] [stdout] 318 | ...                   io::MOUSE.on_mouse_enter();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:326:29
[INFO] [stdout]     |
[INFO] [stdout] 326 | ...                   io::MOUSE.on_mouse_move(points);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:329:29
[INFO] [stdout]     |
[INFO] [stdout] 329 | ...                   io::MOUSE.on_mouse_leave();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:334:21
[INFO] [stdout]     |
[INFO] [stdout] 334 |                     io::MOUSE.on_left_press();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:337:21
[INFO] [stdout]     |
[INFO] [stdout] 337 |                     io::MOUSE.on_left_release();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:340:21
[INFO] [stdout]     |
[INFO] [stdout] 340 |                     io::MOUSE.on_right_release();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:343:21
[INFO] [stdout]     |
[INFO] [stdout] 343 |                     io::MOUSE.on_right_press();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:347:21
[INFO] [stdout]     |
[INFO] [stdout] 347 |                     io::MOUSE.on_wheel_press();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:350:21
[INFO] [stdout]     |
[INFO] [stdout] 350 |                     io::MOUSE.on_wheel_release();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:356:21
[INFO] [stdout]     |
[INFO] [stdout] 356 |                     io::MOUSE.on_wheel_delta(points.x, points.y, delta);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:203:13
[INFO] [stdout]     |
[INFO] [stdout] 203 | /             &self
[INFO] [stdout] 204 | |                 .device
[INFO] [stdout] 205 | |                 .CreateBuffer(&buff_desc, Some(&data), Some(vertex_buff))
[INFO] [stdout]     | |_________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 206 |           }
[INFO] [stdout] 207 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 | /             &self
[INFO] [stdout] 246 | |                 .device
[INFO] [stdout] 247 | |                 .CreateBuffer(&indices_buff_desc, Some(&indices_data), Some(index_buffer))
[INFO] [stdout]     | |__________________________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 248 |           }
[INFO] [stdout] 249 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:307:13
[INFO] [stdout]     |
[INFO] [stdout] 307 | /             &self.device.CreateVertexShader(
[INFO] [stdout] 308 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 309 | |                     vertex_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 310 | |                     vertex_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |                 Some(&mut vertex_shader),
[INFO] [stdout] 314 | |             )
[INFO] [stdout]     | |_____________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 315 |           }
[INFO] [stdout] 316 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 | /             &self
[INFO] [stdout] 359 | |                 .device
[INFO] [stdout] 360 | |                 .CreateBuffer(&const_buff_desc, Some(&const_subresource_data), Some(const_buff))
[INFO] [stdout]     | |________________________________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 361 |           }
[INFO] [stdout] 362 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:403:13
[INFO] [stdout]     |
[INFO] [stdout] 403 | /             &self
[INFO] [stdout] 404 | |                 .device
[INFO] [stdout] 405 | |                 .CreateBuffer(&const_buff_desc2, Some(&const_subresource_data2), Some(const_buff2))
[INFO] [stdout]     | |___________________________________________________________________________________________________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 406 |           }
[INFO] [stdout] 407 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/window/graphics.rs:452:13
[INFO] [stdout]     |
[INFO] [stdout] 452 | /             &self.device.CreatePixelShader(
[INFO] [stdout] 453 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 454 | |                     pixel_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 455 | |                     pixel_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 458 | |                 Some(&mut pixel_shader),
[INFO] [stdout] 459 | |             )
[INFO] [stdout]     | |_____________^ this temporary value will be dropped at the end of the block
[INFO] [stdout] 460 |           }
[INFO] [stdout] 461 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:217:13
[INFO] [stdout]     |
[INFO] [stdout] 217 |             io::KEYBOARD.reset();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:218:13
[INFO] [stdout]     |
[INFO] [stdout] 218 |             io::MOUSE.reset();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:232:32
[INFO] [stdout]     |
[INFO] [stdout] 232 |             keyboard: unsafe { &mut io::KEYBOARD },
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 232 |             keyboard: unsafe { &raw mut io::KEYBOARD },
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:233:29
[INFO] [stdout]     |
[INFO] [stdout] 233 |             mouse: unsafe { &mut io::MOUSE },
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 233 |             mouse: unsafe { &raw mut io::MOUSE },
[INFO] [stdout]     |                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:279:21
[INFO] [stdout]     |
[INFO] [stdout] 279 |                     io::KEYBOARD.reset();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:290:21
[INFO] [stdout]     |
[INFO] [stdout] 290 |                     io::KEYBOARD.on_char(wparam.0 as u32);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:297:25
[INFO] [stdout]     |
[INFO] [stdout] 297 |                         io::KEYBOARD.enable_auto_repeat();
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:299:21
[INFO] [stdout]     |
[INFO] [stdout] 299 |                     io::KEYBOARD.on_key_press(wparam.0 as u32);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:302:21
[INFO] [stdout]     |
[INFO] [stdout] 302 |                     io::KEYBOARD.disable_auto_repeat();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:303:21
[INFO] [stdout]     |
[INFO] [stdout] 303 |                     io::KEYBOARD.on_key_release(wparam.0 as u32);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                         io::MOUSE.on_mouse_move(points);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:318:29
[INFO] [stdout]     |
[INFO] [stdout] 318 | ...                   io::MOUSE.on_mouse_enter();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:326:29
[INFO] [stdout]     |
[INFO] [stdout] 326 | ...                   io::MOUSE.on_mouse_move(points);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:329:29
[INFO] [stdout]     |
[INFO] [stdout] 329 | ...                   io::MOUSE.on_mouse_leave();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:334:21
[INFO] [stdout]     |
[INFO] [stdout] 334 |                     io::MOUSE.on_left_press();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:337:21
[INFO] [stdout]     |
[INFO] [stdout] 337 |                     io::MOUSE.on_left_release();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:340:21
[INFO] [stdout]     |
[INFO] [stdout] 340 |                     io::MOUSE.on_right_release();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:343:21
[INFO] [stdout]     |
[INFO] [stdout] 343 |                     io::MOUSE.on_right_press();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:347:21
[INFO] [stdout]     |
[INFO] [stdout] 347 |                     io::MOUSE.on_wheel_press();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:350:21
[INFO] [stdout]     |
[INFO] [stdout] 350 |                     io::MOUSE.on_wheel_release();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/window.rs:356:21
[INFO] [stdout]     |
[INFO] [stdout] 356 |                     io::MOUSE.on_wheel_delta(points.x, points.y, delta);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.61s
[INFO] [stderr] crater-edition-check: win32-d3d11 v0.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking win32-d3d11 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `D3D11_CPU_ACCESS_READ` and `D3D11_DEPTH_WRITE_MASK`
[INFO] [stdout]   --> src/window/graphics.rs:22:182
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...FER, D3D11_CPU_ACCESS_WRITE, D3D11_CPU_ACCESS_READ, D3D11_DEPTH_STENCIL_DESC, D3D11_DEPTH_WRITE_MASK, D3D11_DEPTH_WRITE_MASK_ALL,...
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::loc`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::loc;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::window::errors`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::window::errors;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::window::graphics::FLOAT3`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::window::graphics::FLOAT3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `D3D11_CPU_ACCESS_READ` and `D3D11_DEPTH_WRITE_MASK`
[INFO] [stdout]   --> src/window/graphics.rs:22:182
[INFO] [stdout]    |
[INFO] [stdout] 22 | ...FER, D3D11_CPU_ACCESS_WRITE, D3D11_CPU_ACCESS_READ, D3D11_DEPTH_STENCIL_DESC, D3D11_DEPTH_WRITE_MASK, D3D11_DEPTH_WRITE_MASK_ALL,...
[INFO] [stdout]    |                                 ^^^^^^^^^^^^^^^^^^^^^                            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::loc`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::loc;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::window::errors`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::window::errors;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::window::graphics::FLOAT3`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::window::graphics::FLOAT3;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Graphics::Direct3D11::D3D11_BIND_VERTEX_BUFFER;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::Graphics::Direct3D11::D3D11_CPU_ACCESS_FLAG;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::Graphics::Direct3D11::D3D11_RESOURCE_MISC_FLAG;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT`
[INFO] [stdout]  --> src/window/graphics/bindable/vertexbuffer.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::Graphics::Direct3D11::D3D11_USAGE_DEFAULT;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 204 | |                 .device
[INFO] [stdout] 205 | |                 .CreateBuffer(&buff_desc, Some(&data), Some(vertex_buff))
[INFO] [stdout]     | |                                                                         ^
[INFO] [stdout]     | |                                                                         |
[INFO] [stdout]     | |_________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                           creates a temporary value which is freed while still in use
[INFO] [stdout] 206 |           }
[INFO] [stdout] 207 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:245:14
[INFO] [stdout]     |
[INFO] [stdout] 245 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 246 | |                 .device
[INFO] [stdout] 247 | |                 .CreateBuffer(&indices_buff_desc, Some(&indices_data), Some(index_buffer))
[INFO] [stdout]     | |                                                                                          ^
[INFO] [stdout]     | |                                                                                          |
[INFO] [stdout]     | |__________________________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                                            creates a temporary value which is freed while still in use
[INFO] [stdout] 248 |           }
[INFO] [stdout] 249 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:307:14
[INFO] [stdout]     |
[INFO] [stdout] 307 |               &self.device.CreateVertexShader(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 308 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 309 | |                     vertex_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 310 | |                     vertex_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |                 Some(&mut vertex_shader),
[INFO] [stdout] 314 | |             )
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |_____________temporary value is freed at the end of this statement
[INFO] [stdout]     |               creates a temporary value which is freed while still in use
[INFO] [stdout] 315 |           }
[INFO] [stdout] 316 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:358:14
[INFO] [stdout]     |
[INFO] [stdout] 358 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 359 | |                 .device
[INFO] [stdout] 360 | |                 .CreateBuffer(&const_buff_desc, Some(&const_subresource_data), Some(const_buff))
[INFO] [stdout]     | |                                                                                                ^
[INFO] [stdout]     | |                                                                                                |
[INFO] [stdout]     | |________________________________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                                                  creates a temporary value which is freed while still in use
[INFO] [stdout] 361 |           }
[INFO] [stdout] 362 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:403:14
[INFO] [stdout]     |
[INFO] [stdout] 403 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 404 | |                 .device
[INFO] [stdout] 405 | |                 .CreateBuffer(&const_buff_desc2, Some(&const_subresource_data2), Some(const_buff2))
[INFO] [stdout]     | |                                                                                                   ^
[INFO] [stdout]     | |                                                                                                   |
[INFO] [stdout]     | |___________________________________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                                                     creates a temporary value which is freed while still in use
[INFO] [stdout] 406 |           }
[INFO] [stdout] 407 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:452:14
[INFO] [stdout]     |
[INFO] [stdout] 452 |               &self.device.CreatePixelShader(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 453 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 454 | |                     pixel_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 455 | |                     pixel_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 458 | |                 Some(&mut pixel_shader),
[INFO] [stdout] 459 | |             )
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |_____________temporary value is freed at the end of this statement
[INFO] [stdout]     |               creates a temporary value which is freed while still in use
[INFO] [stdout] 460 |           }
[INFO] [stdout] 461 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win32-d3d11` (bin "win32-d3d11") due to 6 previous errors; 8 warnings emitted
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:203:14
[INFO] [stdout]     |
[INFO] [stdout] 203 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 204 | |                 .device
[INFO] [stdout] 205 | |                 .CreateBuffer(&buff_desc, Some(&data), Some(vertex_buff))
[INFO] [stdout]     | |                                                                         ^
[INFO] [stdout]     | |                                                                         |
[INFO] [stdout]     | |_________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                           creates a temporary value which is freed while still in use
[INFO] [stdout] 206 |           }
[INFO] [stdout] 207 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:245:14
[INFO] [stdout]     |
[INFO] [stdout] 245 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 246 | |                 .device
[INFO] [stdout] 247 | |                 .CreateBuffer(&indices_buff_desc, Some(&indices_data), Some(index_buffer))
[INFO] [stdout]     | |                                                                                          ^
[INFO] [stdout]     | |                                                                                          |
[INFO] [stdout]     | |__________________________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                                            creates a temporary value which is freed while still in use
[INFO] [stdout] 248 |           }
[INFO] [stdout] 249 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:307:14
[INFO] [stdout]     |
[INFO] [stdout] 307 |               &self.device.CreateVertexShader(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 308 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 309 | |                     vertex_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 310 | |                     vertex_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 313 | |                 Some(&mut vertex_shader),
[INFO] [stdout] 314 | |             )
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |_____________temporary value is freed at the end of this statement
[INFO] [stdout]     |               creates a temporary value which is freed while still in use
[INFO] [stdout] 315 |           }
[INFO] [stdout] 316 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:358:14
[INFO] [stdout]     |
[INFO] [stdout] 358 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 359 | |                 .device
[INFO] [stdout] 360 | |                 .CreateBuffer(&const_buff_desc, Some(&const_subresource_data), Some(const_buff))
[INFO] [stdout]     | |                                                                                                ^
[INFO] [stdout]     | |                                                                                                |
[INFO] [stdout]     | |________________________________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                                                  creates a temporary value which is freed while still in use
[INFO] [stdout] 361 |           }
[INFO] [stdout] 362 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:403:14
[INFO] [stdout]     |
[INFO] [stdout] 403 |               &self
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 404 | |                 .device
[INFO] [stdout] 405 | |                 .CreateBuffer(&const_buff_desc2, Some(&const_subresource_data2), Some(const_buff2))
[INFO] [stdout]     | |                                                                                                   ^
[INFO] [stdout]     | |                                                                                                   |
[INFO] [stdout]     | |___________________________________________________________________________________________________temporary value is freed at the end of this statement
[INFO] [stdout]     |                                                                                                     creates a temporary value which is freed while still in use
[INFO] [stdout] 406 |           }
[INFO] [stdout] 407 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/window/graphics.rs:452:14
[INFO] [stdout]     |
[INFO] [stdout] 452 |               &self.device.CreatePixelShader(
[INFO] [stdout]     |  ______________^
[INFO] [stdout] 453 | |                 std::slice::from_raw_parts(
[INFO] [stdout] 454 | |                     pixel_blob.as_ref().unwrap().GetBufferPointer().cast(),
[INFO] [stdout] 455 | |                     pixel_blob.as_ref().unwrap().GetBufferSize(),
[INFO] [stdout] ...   |
[INFO] [stdout] 458 | |                 Some(&mut pixel_shader),
[INFO] [stdout] 459 | |             )
[INFO] [stdout]     | |             ^
[INFO] [stdout]     | |             |
[INFO] [stdout]     | |_____________temporary value is freed at the end of this statement
[INFO] [stdout]     |               creates a temporary value which is freed while still in use
[INFO] [stdout] 460 |           }
[INFO] [stdout] 461 |           .as_ref()
[INFO] [stdout]     |            ------ borrow later used by call
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using a `let` binding to create a longer lived value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win32-d3d11` (bin "win32-d3d11" test) due to 6 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24", kill_on_drop: false }`
[INFO] [stdout] c2ee1abefedc8854bfa059dee78c90d2336486f269ecbad289971e1e16ba4a24
